package com.liao.badminton.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liao.badminton.code.PageParam;
import com.liao.badminton.code.ProjectException;
import com.liao.badminton.code.ResponseRest;
import com.liao.badminton.dto.SystemMenuDto;
import com.liao.badminton.entity.SystemMenu;

/**
 * @author liaocheng
 * @date 2023-11-22
 * description:菜单权限表
 */
public interface SystemMenuService extends IService<SystemMenu> {
    /**
     * 新增
     */
    ResponseRest saveSystemMenu(SystemMenuDto param) throws ProjectException;

    /**
     * 删除
     */
    ResponseRest deletesSystemMenu(SystemMenuDto param) throws ProjectException;

    /**
     * 修改
     */
    ResponseRest updateSystemMenu(SystemMenuDto param) throws ProjectException;

    /**
     * 查询详情
     */
    ResponseRest findDetail(SystemMenuDto param) throws ProjectException;

    /**
     * 查询列表
     */
    ResponseRest findSystemMenuByPageParam(PageParam<SystemMenuDto> PageParam) throws ProjectException;


}
